package com.example.whever.lacation;

import com.example.whever.common.ApiResponse;
import com.example.whever.weather.Weather;
import com.google.gson.annotations.SerializedName;

import java.util.List;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;


@Data
@AllArgsConstructor
@NoArgsConstructor
public class WeatherApiResponse implements ApiResponse<List<Weather>> {
    @SerializedName("code")
    private String responseCode;
    @SerializedName("daily")
    private List<Weather> data;
}
